/* 数据库状态指示器 */
.db-status {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    padding: 4px 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    margin: 0 20px;
}

.db-indicator {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.db-indicator.local {
    background-color: #3498db;
}

.db-indicator.server {
    background-color: #27ae60;
}

.db-indicator.error {
    background-color: #e74c3c;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

#db-text {
    color: rgba(255, 255, 255, 0.9);
    font-size: 12px;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .db-status {
        margin: 0 10px;
        font-size: 12px;
    }
    
    #db-text {
        display: none;
    }
}